import React, {Component} from 'react';
import style from './SearchInto.module.scss';
import { withRouter } from "react-router-dom";


class SearchInto extends Component {
    clickToSearch=()=>{
        this.props.history.push("search")
    }
    render() {
        return (
            <div className={style.searchBox}>
                <div className={style.search} onClick={this.clickToSearch}>搜索</div>
            </div>
        );
    }
}

export default withRouter(SearchInto);
